<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="/ms-tags" prefix="ms" %>
<%@taglib uri="/sys-tags" prefix="sys" %>
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<c:import url="/public/include/msDocType.html" />
<html>
<head>
<c:import url="/common/base-hplus.jsp" /> 
<script type="text/javascript" src="/js/system/menu/t-sys-menu-form.js?v=${version }"></script>
</head>
<body class="gray-bg">
	
	 <div class="wrapper wrapper-content animated fadeInRight">	
	 
	<div class="row">
	
		
		<div class="col-sm-12">
                  
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form id="TSysMenuForm" name="TSysMenuForm" method="post" action="" class="form-horizontal">
							<input type="hidden" name="id" id="id" value="${entity.id}" />
							<input type="hidden" name="menuCode" id="menuCode" value="${entity.menuCode}" />
                            <div class="form-group">
                                <label class="col-sm-2 control-label">菜单名称</label>
                                <div class="col-sm-4">
                                	<ms:input name="menuName" value="${entity.menuName}" cssClass="form-control" />
                                </div>
                                <label class="col-sm-2 control-label">上級菜单</label>
                                <div class="col-sm-4">
									<sys:selectMenu  cssClass="chosen-select" cssStyle="width:120px;" name="upMenuCode" emptyOptionName="请选择菜单" value="${entity.upMenuCode}" />
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">菜单路径</label>
                                <div class="col-sm-4">
                                    <ms:input name="menuPage" value="${entity.menuPage}" cssClass="form-control" />
                                </div>
                                <label class="col-sm-2 control-label">图标样式</label>
                                <div class="col-sm-4">
                                    <ms:input name="cssClass" value="${entity.cssClass}" cssClass="form-control" />
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            
                            <div class="input-group">
								<span class="input-group-btn">
									<button id="btnListQuery" type="button" onclick="saveInfo()" class="btn btn-sm btn-primary">保存</button>	
								</span>
							</div>
                            
                        </form>
                    </div>
                </div>
            </div>
		
		
	</div>
	
	
	
	</div>
	
	  <c:import url="/common/chosen-select.jsp" />
	  
</body>
</html>

